package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.wemedia.dtos.WmchannelDto;
import com.heima.model.common.wemedia.pojos.WmChannel;

import java.util.List;

public interface WmChannelService extends IService<WmChannel> {

    /**
     * 查询所有频道
     * @return
     */
    public List<WmChannel> findAll();


    /**
     *频道名称模糊分页查询
     * @return
     */
    Page listAndLike(WmchannelDto wmchannelDto);
}